﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Twodi.Interfaces
{
    /// <summary>
    /// Define um componente como container de GameComponents.
    /// </summary>
    public interface IContainer
    {
        /// <summary>
        /// Adicionar multiplos componentes ao container.
        /// </summary>
        /// <param name="components">Componentes a serem adicionados ordenadamente.</param>
        void Add(params IGameComponent[] components);

        /// <summary>
        /// Componentes do container.
        /// </summary>
        GameComponentCollection Components { get; }
    }
}
